package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 交付物
 * </p>
 *
 * @author 小啊刚
 * @since 2021-10-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("prj_project_deliverable")
@ApiModel(value="ErpProjectDeliverable对象", description="交付物")
public class ErpProjectDeliverable extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目id")
    @TableField("project_id")
    private Integer projectId;

    @ApiModelProperty(value = "目标名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "类型")
    @TableField("type")
    private Boolean type;

    @ApiModelProperty(value = "交付物")
    @TableField("deliverable")
    private String deliverable;

    @ApiModelProperty(value = "文件大小")
    @TableField("file_size")
    private Double fileSize;

    @ApiModelProperty(value = "文件地址")
    @TableField("file_url")
    private String fileUrl;

    @ApiModelProperty(value = "文件描述")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "交付人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "交付人")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "提交日期")
    @TableField("create_date")
    private LocalDateTime createDate;


}
